package vista;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.BorderFactory;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JTable;

import javax.swing.WindowConstants;
import javax.swing.table.DefaultTableModel;
import javax.swing.table.TableModel;
import javax.swing.SwingUtilities;


/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class Reporteingredientesmasusados extends javax.swing.JFrame {
	private JButton btnSalir;
	private JLabel jLabel1;
	
	public Reporteingredientesmasusados() {
		super();
		initGUI();
	}
	
	private void initGUI() {
		try {
			setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
			getContentPane().setLayout(null);
			getContentPane().setBackground(new java.awt.Color(0,0,0));
			{
				btnSalir = new JButton();
				getContentPane().add(btnSalir);
				btnSalir.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Imagenes/salirblack.jpg")));
				btnSalir.setOpaque(false);
				btnSalir.setBorder(BorderFactory.createEmptyBorder(0,0,0,0));
				btnSalir.setBounds(452, 140, 34, 36);
				btnSalir.setActionCommand("Salir");
				btnSalir.addActionListener(new ActionListener() {
					public void actionPerformed(ActionEvent evt) {
						System.out.println("btnSalir.actionPerformed, event="+evt);
						//TODO add your code for btnSalir.actionPerformed
						MenuReportes me=new MenuReportes();
						me.setVisible(true);
						dispose();
					}
				});
			}
			{
				jLabel1 = new JLabel();
				getContentPane().add(jLabel1);
				jLabel1.setText("REPORTE DE INGREDIENTES MAS USADOS");
				jLabel1.setFont(new java.awt.Font("Purisa",1,14));
				jLabel1.setForeground(new java.awt.Color(255,255,255));
				jLabel1.setBounds(100, 6, 285, 24);
			}
			pack();
			this.setSize(513, 218);
		} catch (Exception e) {
		    //add your error handling code here
			e.printStackTrace();
		}
	}

}
